﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sync_MD5Check
{
    class ConsoleDisplay
    {
        #region Attributes

        private string _firstPath;
        private string _secondPath;

        #endregion

        #region Methods

        public ConsoleDisplay(bool debugMode)
        {
            if (debugMode)
                Debug.WriteLine("DEBUG MODE ON");
            //Header Console
            Console.WriteLine("MD5 CheckSum Test for SyncProject\n");
            Console.WriteLine("----------------------------------\n\n");

            //First Path
            if (!debugMode)
            Console.Write("Please enter the first path : \n> ");
            _firstPath = debugMode ? ("D:\\Temp\\Pleins") : (Console.ReadLine());
            Console.WriteLine("");

            //Second Path
            if (!debugMode)
            Console.Write("Please enter the second path : \n> ");
            _secondPath = debugMode ? ("D:\\Temp\\Vide") : (Console.ReadLine());
            Console.WriteLine("");
        }

        #endregion

        #region Get & Set

        public string FirstPath
        {
            get { return _firstPath; }
            set { _firstPath = value; }
        }

        public string SecondPath
        {
            get { return _secondPath; }
            set { _secondPath = value; }
        }

        #endregion 
    }
}
